﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	Width="700" Height="435">
	<UserControl.Resources>
		 <Storyboard x:Name="Storyboard1" RepeatBehavior="Forever">
             <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
               <SplineDoubleKeyFrame KeyTime="00:00:00" Value="180"/>
               <SplineDoubleKeyFrame KeyTime="00:00:04" Value="-180"/>
             </DoubleAnimationUsingKeyFrames>
         </Storyboard>
	</UserControl.Resources>


  <Grid Width="700" Height="435" Background="#8D304C89">

    <Image x:Name="bg" Width="700" Height="435" Source="硬盘/img/bj-bot.jpg" Stretch="Fill"/>

    <Grid Height="310" Width="687" Margin="0,0,0,125">
      <Grid Height="309" Width="376" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
        <Image Height="309" Width="376" Source="硬盘/img/m_schematic.jpg" Stretch="Fill" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"/>

        <Canvas Width="35" HorizontalAlignment="Left" Margin="36,121,0,153" >



          <Image Height="35" Width="35" Source="硬盘/img/s.png" Stretch="Fill" RenderTransformOrigin="0.5,0.5" x:Name="image">
            <Image.RenderTransform>
              <TransformGroup>
                <ScaleTransform/>
                <SkewTransform/>
                <RotateTransform/>
                <TranslateTransform/>
              </TransformGroup>
            </Image.RenderTransform>
          </Image>
        </Canvas>
      </Grid>
      <TextBlock Height="46" Width="92" Text="标况浓度:" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="20" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,32,201,0"/>
      <TextBlock Width="223" Text="----" TextWrapping="Wrap" Foreground="#FFA800" FontSize="60" HorizontalAlignment="Right" Margin="0,93,80,140" TextAlignment="Right" x:Name="para1Values"/>

      <TextBlock Width="72" Text="mg/m³" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="20" HorizontalAlignment="Right" Margin="0,134,8,151" x:Name="para3Values"/>
      <Grid Height="61" HorizontalAlignment="Right" Margin="0,0,8,85" VerticalAlignment="Bottom" Width="285">
        <Image Height="47" Width="47" Source="硬盘/img/light.png" Stretch="Fill" HorizontalAlignment="Left" Margin="0,8,0,10" x:Name="lightalert" />
        <TextBlock Height="30" Width="226" Text="" TextWrapping="Wrap" Foreground="#FFA800" FontSize="12" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,19,8,0" x:Name="alertInfo"/>
      </Grid>
	  <Grid Height="90" HorizontalAlignment="Right" Margin="0,223,10,0" VerticalAlignment="Top" Width="295">
      <Grid  Background="#FF2C0B58" Opacity="0.295" ></Grid>
		<Path Stroke="#FFDC9537" StrokeThickness="3" Data="M0,45 300,45 " x:Name="monitorLine"/>
      </Grid> 
	  
    </Grid>

    <Grid Height="119" Width="693" Margin="0,0,0,5" d:LayoutOverrides="Height" VerticalAlignment="Bottom" >
      <Grid.RowDefinitions>
        <RowDefinition Height="39" />
        <RowDefinition Height="39" />
        <RowDefinition Height="39" />
        <RowDefinition Height="*" />
      </Grid.RowDefinitions>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="110" />
        <ColumnDefinition Width="270" />
        <ColumnDefinition Width="110" />
        <ColumnDefinition Width="202" />
        <ColumnDefinition Width="Auto" />
      </Grid.ColumnDefinitions>

      <Border Grid.Row="0"  BorderThickness="1,1,1,1" Grid.Column="0" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="1" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>
      <Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="2" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="0"  BorderThickness="0,1,1,1" Grid.Column="3" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>

      <Border Grid.Row="1"  BorderThickness="1,0,1,1" Grid.Column="0" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="1"  BorderThickness="0,0,1,1" Grid.Column="1" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>
      <Border Grid.Row="1"  BorderThickness="0,0,1,1" Grid.Column="2" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="1"  BorderThickness="0,0,1,1" Grid.Column="3" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>

      <Border Grid.Row="2"  BorderThickness="1,0,1,1" Grid.Column="0" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="2"  BorderThickness="0,0,1,1" Grid.Column="1" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>
      <Border Grid.Row="2"  BorderThickness="0,0,1,1" Grid.Column="2" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0B2E42"/>
      </Border>
      <Border Grid.Row="2"  BorderThickness="0,0,1,1" Grid.Column="3" BorderBrush="#0B2E42" >
        <Border BorderThickness="1,1,1,1" BorderBrush="#133B52" Background="#0D364D"/>
      </Border>


      <TextBlock Grid.Row="0" Grid.Column="0" Height="30" Width="83" Text="当前状态" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock Grid.Row="1" Grid.Column="0" Height="30" Width="83" Text="流      量" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock Grid.Row="2" Grid.Column="0" Height="30" Width="83" Text="温      度" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />

      <TextBlock x:Name="state1Values" Grid.Row="0" Grid.Column="1"  Height="30" Width="240" Text="准备中 ..." TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock x:Name="para2Values" Grid.Row="1" Grid.Column="1"  Height="30" Width="240" Text="16.62 L/min" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock x:Name="state2Values" Grid.Row="2" Grid.Column="1"  Height="30" Width="240" Text="25.4℃" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16"/>

      <TextBlock Grid.Row="0" Grid.Column="2"  Height="30" Width="83" Text="过程描述" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock Grid.Row="1" Grid.Column="2"  Height="30" Width="83" Text="大气压力" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock Grid.Row="2" Grid.Column="2"  Height="30" Width="83" Text="工作时间" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />

      <TextBlock x:Name="state3Values" Grid.Row="0" Grid.Column="3"  Height="30" Width="183" Text="准备工作..." TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />
      <TextBlock x:Name="state4Values" Grid.Row="1" Grid.Column="3"  Height="30" Width="183" Text="101.52 Ka" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16"  />
      <TextBlock x:Name="state5Values" Grid.Row="2" Grid.Column="3"  Height="30" Width="183" Text="0分0秒" TextWrapping="Wrap" Foreground="#FFFFFFFF" FontSize="16" />

    </Grid>



  </Grid>
</UserControl>